package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SmsGroup entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sms_group", catalog = "imcdbserver")
public class SmsGroup implements java.io.Serializable {

	// Fields

	private Integer groupId;
	private String groupName;
	private Integer corpId;

	// Constructors

	/** default constructor */
	public SmsGroup() {
	}

	/** full constructor */
	public SmsGroup(String groupName, Integer corpId) {
		this.groupName = groupName;
		this.corpId = corpId;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "Group_id", unique = true, nullable = false)
	public Integer getGroupId() {
		return this.groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	@Column(name = "Group_name", length = 20)
	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@Column(name = "corp_id")
	public Integer getCorpId() {
		return this.corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

}